package com.cms.admin.mapper;

import java.util.List;

import com.cms.admin.model.AdvertisementListData;
import com.cms.admin.model.AdvertisementListDataExample;

public interface AdvertisementListDataMapper {
    int countByExample(AdvertisementListDataExample example);

    int deleteByExample(AdvertisementListDataExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(AdvertisementListData record);
    
    int insertSelective(AdvertisementListData record);

    List<AdvertisementListData> selectByExample(AdvertisementListDataExample example);

    AdvertisementListData selectByPrimaryKey(Long recid);

    int updateByPrimaryKeySelective(AdvertisementListData record);

    int updateByPrimaryKey(AdvertisementListData record);
    
    void insertBatch(List<AdvertisementListData> list );
    
    void deleteByAdvertisementId(Long advertisementid );
}